import java.util.HashSet;
import java.util.Set;
import java.util.ArrayList;


public class Table {
/**
 * <pre>
 *           1..1     0..*
 * Table ------------------------- Order
 *           table        &gt;       order
 * </pre>
 */
private Set<Order> order;

public Set<Order> getOrder() {
   if (this.order == null) {
this.order = new HashSet<Order>();
   }
   return this.order;
}

/**
 * <pre>
 *           1..1     0..*
 * Table ------------------------- ListOfTables
 *           table        &gt;       listOfTables
 * </pre>
 */
private Set<ListOfTables> listOfTables;

public Set<ListOfTables> getListOfTables() {
   if (this.listOfTables == null) {
this.listOfTables = new HashSet<ListOfTables>();
   }
   return this.listOfTables;
}

private int tableNo;
private ArrayList<Order> orders;

private void setTableNo(int value) {
   this.tableNo = value;
}

private int getTableNo() {
   return this.tableNo;
}

public String getBill() {
   // TODO implement this operation
   throw new UnsupportedOperationException("not implemented");
}

private double applyDiscount() {
   // TODO implement this operation
   throw new UnsupportedOperationException("not implemented");
}

}
